package com.taotao.async.task.spring;

import com.taotao.async.task.AbstractTaskEngine;
import com.taotao.async.task.Task;
import com.taotao.async.task.TaskExecutor;
import com.taotao.async.task.result.TaskResultProccessor;
import com.taotao.async.task.exception.TaskException;

public class SpringTaskEngine extends AbstractTaskEngine {
    public SpringTaskEngine(TaskExecutor taskExecutor) {
        super(taskExecutor);
    }

    @Override
    public Long submitTask(Task task, String param) {
        return null;
    }

    @Override
    public <T> T waitForTaskResult(Long taskInstId, Class<T> rClass) throws TaskException {
        return null;
    }

    @Override
    public void retryTask(Long taskInstId) {

    }

    @Override
    public void getTaskResult(Long taskInstId, TaskResultProccessor rcb) {

    }
}
